<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h2>编辑页面</h2>
    <form action="/editgoods" method="post">
        <input type="hidden" name="id" value="<%=val._id%>">
        商品名称：<input type="text" name="name" value="<%=val.name%>" > <br />
        商品介绍： <input type="text" name="content" value="<%=val.content%>"> <br />
        商品价格： <input type="text" name="price" value="<%=val.price%>"> <br />
        <button>提交</button>
    </form>
</body>
</html>